package com.design.bridge.player;

// 音频播放器类
class AudioPlayer implements MediaPlayer {
    private OperatingSystem os;

    public AudioPlayer(OperatingSystem os) {
        this.os = os;
    }

    @Override
    public void play() {
        System.out.println("Playing audio...");
        os.renderMedia("audio");
    }
}
